#include <iostream>
using namespace std;

int main()
{
	char sayHello[] = { 'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '\0' };
	cout << sayHello << endl;
	cout << sizeof(sayHello) << endl;//12

	cout << "Replacing space with null" << endl;
	sayHello[5] = '\0';
	cout << sayHello << endl;//Hello
	cout << sizeof(sayHello) << endl;//12

	cout << sayHello + 6 << endl;	// "World"

	return 0;
}